<%@ page pageEncoding="UTF-8"%>
<%@ page import="java.util.List"%>
<%@ page import="com.lenovo.plm.pg.util.WorkflowUtil"%>
<%@ page import="wt.workflow.engine.WfProcess"%>
<%@ page import="wt.workflow.work.WfAssignedActivity"%>
<%@ page import="wt.workflow.work.WorkItem"%>
<%@ page import="com.lenovo.plm.pg.util.DocUtil"%>

	<%
	WTDocument porcvloadsheet = DocUtil.getDocumentByNumberByVersion("0004254654", "A");
	WfProcess process  = WorkflowUtil.getProcess(porcvloadsheet);
    WfAssignedActivity wfaa = WorkflowUtil.getWfAssignedActivity(process, "Modify Data");
    WorkItem workitem = WorkflowUtil.getLatestWorkItem(wfaa);
    String completedBy = workitem.getCompletedBy();
    System.out.println("Completed by:" + completedBy);
	%>